Release 10.1A: OpenEdge Development:
.NET Open Clients
Passing a TABLE or TABLE-HANDLE as an INPUT-OUTPUT parameter
INPUT-OUTPUTTABLEandTABLE-HANDLEparameters are a combination ofINPUTandOUTPUTparameters. The client application must pass an object instance for the parameter as defined for input parameters. For aTABLEparameter, the client must provide an instance of the strongly typed DataTable class provided by ProxyGen. For aTABLE-HANDLEparameter, the client must provide a strongly typed DataTable (if applicable), an instance ofProgress.Open4GL.ProDataTable, or an instance ofSystem.Data.DataTablethat contains both the schema and data. For more information, see the "Passing a TABLE or TABLE-HANDLE as an INPUT parameter" section.
OUTPUTTABLE-HANDLEparameters can be returned asUnknownor undefined. As a result, you must ensure the client code is written to handle these cases.For
INPUT-OUTPUTparameters, all the data must be put into the parameter before the proxy call is made. Any data in the parameter at the time of the method is replaced on return from the proxy call. All output data is immediately available to the client after the proxy call returns.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |